package tech.aistar.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Pay implements Serializable {

  private int id;
  private String name;
  private int userid;
  private int orderid;
  private Date paydate;
  private String paytime;
  private String payprice;
  private String paystatus;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getUserid() {
    return userid;
  }

  public void setUserid(int userid) {
    this.userid = userid;
  }

  public int getOrderid() {
    return orderid;
  }

  public void setOrderid(int orderid) {
    this.orderid = orderid;
  }

  public Date getPaydate() {
    return paydate;
  }

  public void setPaydate(Date paydate) {
    this.paydate = paydate;
  }

  public String getPaytime() {
    return paytime;
  }

  public void setPaytime(String paytime) {
    this.paytime = paytime;
  }

  public String getPayprice() {
    return payprice;
  }

  public void setPayprice(String payprice) {
    this.payprice = payprice;
  }

  public String getPaystatus() {
    return paystatus;
  }

  public void setPaystatus(String paystatus) {
    this.paystatus = paystatus;
  }

  @Override
  public String toString() {
    return "Pay{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", userid=" + userid +
            ", orderid=" + orderid +
            ", paydate=" + paydate +
            ", paytime='" + paytime + '\'' +
            ", payprice='" + payprice + '\'' +
            ", paystatus='" + paystatus + '\'' +
            '}';
  }
}